package com.bjc.platform.model;

/***********************************************************************
 * Module:  LogEvent.java
 * Author:  Administrator
 * Purpose: Defines the Class LogEvent
 ***********************************************************************/

import java.io.Serializable;
import java.util.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.Table;
import javax.persistence.InheritanceType;
/**
 * 日志事件
 * 
 */
@Entity
@Table(name = "adm_log_event")
@Inheritance(strategy = InheritanceType.JOINED )  
public class AdmLogEvent implements Serializable{

	private static final long serialVersionUID = 1585619257322419248L;

	private Long id;

	private String name;

	private String remark;

	private Date eventTime;
	
	@Id
    @Column(name="id", columnDefinition="int")
    @GeneratedValue(strategy=GenerationType.AUTO)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name="event_time")
	public Date getEventTime() {
		return eventTime;
	}

	public void setEventTime(Date eventTime) {
		this.eventTime = eventTime;
	}
}